package com.woniu.dao;

import com.woniu.pojo.User;
import com.woniu.vo.UserVO;

import java.util.List;

public interface UserDAO {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> queryUserByPage(Integer currentPage, Integer pageSize, UserVO userVO);

    void  deleteUser(Integer[] primarykeys);

    User findUserByName(String userName);
}